﻿CMAKE_MINIMUM_REQUIRED(VERSION 3.5)

# ��Ŀ����
PROJECT(ncftp)
aux_source_directory(./libncftp DIR_LIB_SRCS)
aux_source_directory(./sio DIR_LIB_SRCS)
aux_source_directory(./Strn DIR_LIB_SRCS)

include_directories(${PROJECT_SOURCE_DIR}/libncftp)
include_directories(${PROJECT_SOURCE_DIR}/Strn)
include_directories(${PROJECT_SOURCE_DIR}/sio)
include_directories(${PROJECT_SOURCE_DIR}/)

add_definitions(-D_REENTRANT)
add_definitions(-D_LARGEFILE64_SOURCE)
add_definitions(-DHAVE_CONFIG_H)
add_library(ncftp STATIC ${DIR_LIB_SRCS}) 